export type Preview = Element | Array<Element> | NodeList | String

export interface CropperProps {
    // 文件类型
    viewMode?: number,
    dragNode?: string,
    initialAspectRatio?: number,
    aspectRatio?: number,
    preview?: string,
    background?: boolean,
    autoCropArea?: number,
    zoomOnWheel?: boolean
}

export interface CropperEvent {
    (e: 'ready'): void
    (e: 'imageLoad', vaule: string): void
    (e: 'cropper', vaule: string): void
}

